<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <!-- metas -->
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- css -->
    <link rel="stylesheet" type="text/css" href="<?=BASEURL.CSS_DIR?>reset.css" media="screen"/>
    <link rel="stylesheet" type="text/css" href="<?=BASEURL.CSS_DIR?>admin/common.css" media="screen"/>
    <link rel="stylesheet" type="text/css" href="<?=BASEURL.CSS_DIR?>admin/popin.css" media="screen"/>
    <link rel="stylesheet" type="text/css" href="<?=BASEURL.CSS_DIR?>admin/style_edit.css" media="screen"/>
    <link rel="stylesheet" type="text/css" href="<?=BASEURL.CSS_DIR?>admin/header.css" media="screen"/>
    <!-- javascript -->
    <?=$js_header?>
    <title>Nimwiki :: editing :: <?=$pagename?></title>
  </head>
  <body>
<!-- start div page -->
<div id="page" >

    <!-- start div header -->
    <?=$div_header?>
    <!-- end div header -->
   
    
    <!-- start div content -->
    <div id="content" >
   
    <!--  start div submenu -->
    <div id=submenu >
    </div>
    <!--  end div submenu -->
   
   
   
    <h1 class="action">Page manager</h1>
   
    <!-- start div barre -->
    <div id="actionbar" >
        <div>
           <div>
           		<a href="#" id="btVersions" class="button" >Revisions</a>
           		<a href="#" id="btTemplate" class="button" >Choose template</a>
           		<a href="#" id="btTags" class="button" >Edit tags</a>
                <a href="#" id="btCreatePage" class="button" >New page</a>
                
            </div>
        </div>
        <div style="float:right">
            <a href="javascript:document.myForm.submit();" class="button" >Save</a>
            <a href="<?=site_url('/wiki/read/')?>" class="button"  >Cancel</a>
            <a href="#" id="btHelp" class="button" style="margin-right:0;">Help</a>
        </div>
    </div>
    <!-- end div barre1 -->
    <table style="clear:both;" >
    <tr>
    	<th>Titre</th>
    	<th>date</th>
    	<th>version</th>
    </tr>
    <? foreach($pages as $page): ?>
    <tr>
		<td><a href="<?=site_url("/admin/wikimgr/edit/".$page);?>" ><?=$page?></td>
		<td>date</td>
		<td>ver</td>
	</tr>
    <? endforeach; ?>
    </table>
    </div>
    <!-- end div content --> 
    
</div>
<!-- end div page --> 


</body>
</html>